projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03ad459
)
combobox: Set GDK_SCROLL_MASK on the eventbox in appears-as-list mode
author
Carlos Garnacho
<carlosg@gnome.org>
Wed, 20 Nov 2013 11:53:57 +0000
(12:53 +0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Wed, 20 Nov 2013 12:18:37 +0000
(13:18 +0100)
This is so the scroll wheel works in both modes, and there's no behavioral
change depending on a style property.
https://bugzilla.gnome.org/show_bug.cgi?id=702663
gtk/gtkcombobox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcombobox.c
b/gtk/gtkcombobox.c
index ceb0235d8776f56cd07beb194558771f0aa67ceb..951db192c31c3ebda7601b804cfe6f6d1bbf72a9 100644
(file)
--- a/
gtk/gtkcombobox.c
+++ b/
gtk/gtkcombobox.c
@@
-3483,6
+3483,7
@@
gtk_combo_box_list_setup (GtkComboBox *combo_box)
gtk_cell_view_set_background_rgba (GTK_CELL_VIEW (priv->cell_view), &color);
priv->box = gtk_event_box_new ();
+ gtk_widget_add_events (priv->box, GDK_SCROLL_MASK);
gtk_event_box_set_visible_window (GTK_EVENT_BOX (priv->box),
FALSE);